package QC.MessageBox.annotation;

import io.vertx.core.http.HttpMethod;

import java.lang.annotation.*;

/**
 * Created by Andaren on 2017/5/26.
 * Used for:
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface RouteMapping {
    String value() default "";
    String path() default "";                   // 请求的路径
    HttpMethod method() default HttpMethod.GET; // 请求的方法(默认是get请求)
}
